package com.ruoyi.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * @author: houyong
 * @date: 2025年11月14日 14:32
 */
@Schema(description = "用户详细信息实体类")
@TableName("user_detail")
public class UserDetail implements Serializable {
    @Schema(description = "用户唯一标识符")
    private String uid;

    @Schema(description = "用户昵称")
    private String name;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "邮箱地址")
    private String email;

    @Schema(description = "MD5密码摘要")
    @JsonIgnore
    private byte[] md5;

    @Schema(description = "用户状态 1:正常 0:禁用")
    private Integer status;

    @Schema(description = "用户头像URL")
    private String portrait;

    @Schema(description = "创建时间戳")
    private Long t;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public Long getT() {
        return t;
    }

    public void setT(Long t) {
        this.t = t;
    }

    public byte[] getMd5() {
        return md5;
    }

    public void setMd5(byte[] md5) {
        this.md5 = md5;
    }
}
